package com.aaa.core.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ：ludi（206913808@qq.com）
 * @date ：Created in 2022/12/1 13:10
 * @description：
 * @modified By：
 * @version:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Results<T> {
    private Integer code;
    private String msg;
    private T data;
    public Results(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}